|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.vtp.desktop.projects.core.internals.VoiceResource
org.eclipse.vtp.desktop.projects.core.internals.MediaResource
public abstract class MediaResource
This is a concrete implementation of IMediaResource
and provides the default behavior of that interface.
| Constructor Summary | |
|---|---|
MediaResource(IMediaContainer container,
org.eclipse.core.resources.IResource resource)
Craetes a new MediaResource in the provided media
container with the given eclipse file resource. |
|
| Method Summary | |
|---|---|
void |
delete()
Removes this resource from the project structure. |
boolean |
exists()
Determines if this media resource exists. |
java.lang.String |
getMediaPath()
|
java.lang.String |
getName()
|
protected java.lang.String |
getObjectId()
The object id is used by the event system to uniquely identify a project resource. |
IVoiceToolsResource |
getParent()
Returns the parent of this resource. |
IMediaContainer |
getParentMediaContainer()
|
| Methods inherited from class org.eclipse.vtp.desktop.projects.core.internals.VoiceResource |
|---|
addRefreshListener, deferEvents, finalize, getAdapter, getProject, processObjectEvent, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.vtp.desktop.projects.core.IVoiceToolsResource |
|---|
addRefreshListener, deferEvents, getProject, refresh, removeRefreshListener, resumeEvents |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
|---|
public MediaResource(IMediaContainer container,
org.eclipse.core.resources.IResource resource)
MediaResource in the provided media
container with the given eclipse file resource.
container - The parent media containerresource - The eclipse file resource this media resource
represnets| Method Detail |
|---|
public boolean exists()
IMediaResource
exists in interface IMediaResourcetrue if the resource exists, false
otherwisepublic IMediaContainer getParentMediaContainer()
getParentMediaContainer in interface IMediaResourcepublic IVoiceToolsResource getParent()
IVoiceToolsResourcethis.
getParent in interface IVoiceToolsResourcepublic java.lang.String getName()
getName in interface IVoiceToolsResourceprotected java.lang.String getObjectId()
VoiceResource
getObjectId in class VoiceResource
public void delete()
throws org.eclipse.core.runtime.CoreException
IMediaResource
delete in interface IMediaResourceorg.eclipse.core.runtime.CoreException - If an error occured during the deletionpublic java.lang.String getMediaPath()
getMediaPath in interface IMediaResource
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||